package com.vchello.bean.agency;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * 
 * @author power
 *
 */
@TableName("agency_apply")
public class Agency extends Model<Agency> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@TableId("id")
	private int id;

	@TableField("agency_name")
	private String agencyName;

	@TableField("contacts_name")
	private String contactsName;

	@TableField("phone")
	private String phone;

	@TableField("email")
	private String email;

	@TableField("create_time")
	private String createTime;

	@TableField("status")
	private int status; // 1未处理 2已接触 3对方考虑中 4考虑后不使用 5已开通账号

	private int userId;
	
	private String name;
	
	private int userCount; // 人员总数
	
	private int projectCount; // 项目总数

	private String orderValue; // 要排序的字段
	
	private int orderType; // 1:desc和2:asc

	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getAgencyName() {
		return agencyName;
	}


	public void setAgencyName(String agencyName) {
		this.agencyName = agencyName;
	}


	public String getContactsName() {
		return contactsName;
	}


	public void setContactsName(String contactsName) {
		this.contactsName = contactsName;
	}


	public String getPhone() {
		return phone;
	}


	public void setPhone(String phone) {
		this.phone = phone;
	}


	public String getEmail() {
		return email;
	}


	public void setEmail(String email) {
		this.email = email;
	}


	public String getCreateTime() {
		return createTime;
	}


	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}


	public int getStatus() {
		return status;
	}


	public void setStatus(int status) {
		this.status = status;
	}


	public int getUserId() {
		return userId;
	}


	public void setUserId(int userId) {
		this.userId = userId;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public int getUserCount() {
		return userCount;
	}


	public void setUserCount(int userCount) {
		this.userCount = userCount;
	}


	public int getProjectCount() {
		return projectCount;
	}


	public void setProjectCount(int projectCount) {
		this.projectCount = projectCount;
	}


	public String getOrderValue() {
		return orderValue;
	}


	public void setOrderValue(String orderValue) {
		this.orderValue = orderValue;
	}


	public int getOrderType() {
		return orderType;
	}


	public void setOrderType(int orderType) {
		this.orderType = orderType;
	}


	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
